apiVersion: v1
kind: Pod
metadata:
  name: allowed
  namespace: testns
spec:
  hostNetwork: true
  containers:
    - name: nginx
      image: nginx
      ports:
        - containerPort: 9000
          hostPort: 3500
